package com.chorye.concurrent.controller;

import com.chorye.concurrent.service.StudentService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author Chorye
 * @since 2019-06-27
 */
@RestController
@RequestMapping("/student")
public class StudentController {

    /**
     * 日志记录
     */
    private final Logger logger = LoggerFactory.getLogger(StudentController.class);

    /**
     * 服务层注入
     */
    @Autowired
    public StudentService studentService;
}
